<div class="layui-side layui-bg-black">
  <div class="layui-side-scroll">
    <!-- 左侧导航区域（可配合layui已有的垂直导航） -->
    <ul class="layui-nav layui-nav-tree"  lay-filter="test">
      <li class="layui-nav-item layui-nav-itemed">
        <a class="" href="javascript:;">控制面板</a>
        <dl class="layui-nav-child">
            <dd><a class="<?php if($c=='admin'):?>lay_this<?php endif;?>" href="<?=url('admin/index')?>">后台首页</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item">
        <a href="javascript:;">项目管理</a>
        <dl class="layui-nav-child">
          <dd><a class="<?php if($c=='xiangmu'):?>lay_this<?php endif;?>" href="<?=url('xiangmu/lists')?>">项目配置</a></dd>
          <dd><a class="<?php if($c=='userxiangmu'):?>lay_this<?php endif;?>" href="<?=url('userxiangmu/lists')?>">用户权限</a></dd>
        </dl>
      </li>
      <li class="layui-nav-item">
        <a href="javascript:;">财务中心</a>
        <dl class="layui-nav-child">
          <dd><a class="<?php if($c=='orderxiangmu'):?>lay_this<?php endif;?>" href="<?=url('orderxiangmu/lists')?>">项目订单</a></dd>
          <dd><a class="<?php if($c=='userbill'):?>lay_this<?php endif;?>" href="<?=url('userbill/lists')?>">用户账单</a></dd>
          <dd><a class="<?php if($c=='awarddaili'):?>lay_this<?php endif;?>" href="<?=url('awarddaili/lists')?>">代理收益</a></dd>
          <dd><a class="<?php if($c=='awardtuiguang'):?>lay_this<?php endif;?>" href="<?=url('awardtuiguang/lists')?>">推广收益</a></dd>
          <dd><a class="<?php if($c=='awardfenhong'):?>lay_this<?php endif;?>" href="<?=url('awardfenhong/lists')?>">分红收益</a></dd>
          <dd><a class="<?php if($c=='withdraw'):?>lay_this<?php endif;?>" href="<?=url('withdraw/lists')?>">提现记录</a></dd>
        </dl>
      </li>
    </ul>
  </div>
</div>
<script>
  $(".lay_this").parents("li").addClass("layui-nav-itemed");
</script>
